
class DataAccess;

class DataAccess
{
	private:
		int dataValue;
		int dataOrg[10];
		int dataSetCount;

	public:
		DataAccess( )	{	dataValue = 0, dataOrg[0] = 0, dataSetCount = 0;/**/	}
		DataAccess( const DataAccess &rhs);
		DataAccess( int *arrayIn, int size);
		//DataAccess(int value)	{	dataValue = value; dataOrg[0] = value;/*, dataSetCount = value;*/	}
		~DataAccess()	{			}
		void	setDataValue(int inValue = 0xff) ;//{	dataValue = inValue;};
		inline int		getDataValue(void) const {	return(dataValue);}

};

void DataAccess::setDataValue(int value)
{
	dataValue = value;
}

void testBaseClass()
{
	DataAccess thisAccess;
	int a = 0;

	thisAccess.setDataValue(a);
	//thisAccess.dataOrg = 9;
	a = thisAccess.getDataValue( );

}